package leetcode.code1728;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution1728 implements IDebug {

	public abstract boolean canMouseWin(String[] grid, int catJump, int mouseJump);

	@Override
	public void debug1() {
		HelpDebug.compare(true, this.canMouseWin(HelpDebug.str2array2("[\"####F\",\"#C...\",\"M....\"]"), 1, 2));

	}

	@Override
	public void debug2() {
		HelpDebug.compare(false, this.canMouseWin(HelpDebug.str2array2("[\"M.C...F\"]"), 1, 3));

	}

	@Override
	public void debug3() {
		HelpDebug.compare(true, this.canMouseWin(HelpDebug.str2array2("[\"M.C...F\"]"), 1, 4));

	}

	@Override
	public void debug4() {
		HelpDebug.compare(false, this.canMouseWin(HelpDebug.str2array2("[\"C...#\",\"...#F\",\"....#\",\"M....\"]"), 2, 5));

	}

	public void debug5() {
		HelpDebug.compare(true, this.canMouseWin(HelpDebug.str2array2("[\".M...\",\"..#..\",\"#..#.\",\"C#.#.\",\"...#F\"]"), 1, 3));

	}
	public void debug6() {
		HelpDebug.compare(false, this.canMouseWin(HelpDebug.str2array2("[\"M....\",\"..#..\",\"#..#.\",\"C#.#.\",\"...#F\"]"), 3, 1));

	}
	public void debug7() {
		HelpDebug.compare(false, this.canMouseWin(HelpDebug.str2array2("[\"#..C...\",\"M....#.\",\"######.\",\"######.\",\"######.\",\"######F\"]"), 1, 5));

	}
	public void debug8() {
		HelpDebug.compare(true, this.canMouseWin(HelpDebug.str2array2("[\"#F..\",\"..#.\",\"..M.\",\"..C.\"]"), 3, 3));

	}
	public void debug9() {
		HelpDebug.compare(true, this.canMouseWin(HelpDebug.str2array2("[\".M...\",\"..#..\",\"#..#.\",\"C#.#.\",\"...#F\"]"), 3, 1));

	}
	public void debug10() {
		HelpDebug.compare(true, this.canMouseWin(HelpDebug.str2array2("[\".....\",\"...C.\",\"...#.\",\"...#M\",\"F..#.\"]"), 1, 5));

	}
	public void debug11() {
		HelpDebug.compare(false, this.canMouseWin(HelpDebug.str2array2("[\"####.##\",\".#C#F#.\",\"######.\",\"##M.###\"]"), 3, 6));

	}

}
